import pinia from "@/stores/user";
import { createApp } from "vue";
import ElementPlus, { ElIcon } from "element-plus";
import App from "./App.vue";
import router from "./router";
import "@/styles/index.css";
import * as ElementPlusIconsVue from "@element-plus/icons-vue";
import "element-plus/theme-chalk/el-message.css";
import "element-plus/theme-chalk/el-message-box.css";
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}

app.use(pinia);
app.use(router);
app.use(ElementPlus);
app.mount("#app");
